package com.chen.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.chen.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 后台菜单
 * </p>
 *
 * @author 陈永鹏
 * @since 2019-03-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("zs_backstage_menu")
public class BackstageMenu extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 后台菜单主键
     */
    @TableId(value = "bm_id", type = IdType.AUTO)
    private Integer bm_id;

    /**
     * 菜单标题
     */
    private String bm_title;

    /**
     * 控制器名称
     */
    private String c_name;

    /**
     * 方法名称
     */
    private String a_name;

    /**
     * 采购的icon
     */
    private String icon;

    /**
     * 菜单排序
     */
    private Integer sort;

    /**
     * 上级菜单ID 0为父级别
     */
    private Integer p_bm_id;

    /**
     * 是否 顶级连接 而不是分类菜单
     */
    private Boolean is_url;


}
